//
//  Group.h
//  MHO
//
//  Created by papo on 4/12/14.
//  Copyright (c) 2014 maihoang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Group : NSObject
@property (nonatomic, strong) NSString* groupId;
@property (nonatomic, strong) NSString* name;
//@property (nonatomic, strong) NSString* description;
@property (nonatomic, strong) NSString* background;
@property (nonatomic, strong) NSString* imageUrl;
@property (nonatomic, assign) BOOL  status;
@property (nonatomic, strong) NSNumber* views;
@property (nonatomic, strong) NSNumber* count;

+ (NSMutableArray*)getAllGroups;

+ (NSMutableArray*)getAllGroupsSystem:(NSString*)system;

+ (Group*)groupFromDictionary:(NSDictionary*)dictionary;

- (id)initWithDictionary:(NSDictionary*)dictionary;

@end
